<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>1.0starting)</title>
    <script src="../static/vue.min.js"></script>
    <script src="../static/jquery.js"></script>
</head>
<body>
<div id="vue_det">
    <h1>site :{{site}}</h1>
    <h1>url :{{url}}</h1>
    <h1>{{details()}}</h1>
    <button>测试</button>
</div>
<script type="text/javascript">
    var vm=new Vue({
        el:'#vue_det',
        data:{
            site:"LFSenior",
            url:"www.lfsenior.cn",
            alexa:"10000"
        },
        methods:{
            details:function(){
                return this.site+"学无止尽";
            }
        }
    });
    document.write(vm.site)
    $("button").click(function () {
         vm.site="2spaces";
    });
</script>
</body>
</html>